﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace EFCore.Migrations.EI
{
    /// <inheritdoc />
    public partial class HI : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "EI",
                columns: table => new
                {
                    EinId = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    HumanName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    InterviewAmount = table.Column<int>(type: "int", nullable: false),
                    HumanMajorKindId = table.Column<int>(type: "int", nullable: false),
                    HumanMajorKindName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    HumanMajorId = table.Column<int>(type: "int", nullable: false),
                    HunmaMajorName = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ImageDegree = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    NativeLanguageDegree = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ForeignLanguageDegree = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    ResponseSpeedDegree = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    EQDegree = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    IQDegree = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    MultiQualityDegree = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    Register = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    Checker = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    RegisteTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    CheckTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    ResumeId = table.Column<int>(type: "int", nullable: false),
                    Result = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    InterviewComment = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    CheckComment = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    InterviewStatus = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    CheckStatus = table.Column<string>(type: "nvarchar(max)", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_EI", x => x.EinId);
                });
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "EI");
        }
    }
}
